package com.red.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName
public class Product {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String number;
    private Integer productTypeId;
    private Integer productUnitId;
    @TableField(exist = false)
    private String productTypeName;
    @TableField(exist = false)
    private String productUnitName;
    private String barCode;
    private String ggAttribute;
    private Double lsPrice;
    private Double pfPrice;
    private Double zdPrice;
    private Double ckjhPrice;
    private String ps;
    private String img;
    private String twIntroduce;
}
